package com.feihong.txgw.ui.activity.mendian;

import android.os.Bundle;
import android.support.v4.view.ViewPager;

import com.astuetz.PagerSlidingTabStrip;
import com.feihong.txgw.R;
import com.feihong.txgw.fragmentadapter.FujinMenDianPagerAdapter;
import com.feihong.txgw.message.LoginMessage;
import com.feihong.txgw.ui.activity.base.BaseActivity;

import butterknife.BindView;

/**
 * Created by Sabirjan on 2017/6/29.
 * TXGWApp.
 * 飞宏电子
 * 附近门面l
 */

public class FuJinMenDianActivity extends BaseActivity {

    @BindView(R.id.tabs)
    PagerSlidingTabStrip tabs;
    @BindView(R.id.viewPager)
    ViewPager viewPager;

    @Override
    public void setTheme() {

    }

    @Override
    public int setLayoutID() {
        return R.layout.activity_fujin_mendian;
    }

    @Override
    public void initView(Bundle savedInstanceState) {
        setBackButtonFinish();
        setPageTitle("附近店面");


        FujinMenDianPagerAdapter fujinMenDianPagerAdapter =new FujinMenDianPagerAdapter(getSupportFragmentManager());
        viewPager.setAdapter(fujinMenDianPagerAdapter);
        tabs.setViewPager(viewPager);
    }

    @Override
    public void bindData() {

    }

    @Override
    public void onUserLogin(LoginMessage loginMessage) {

    }
}
